public class CheckingAccount extends BankAccount2{
    public CheckingAccount(double balance) {
        super(balance);
    }
    @Override
    public void deposit(double amount){
        super.deposit(amount-1);
    }
    @Override
    public void withdraw(double amount){
        super.withdraw(amount+1);
    }

}
